import {
  createRouter,
  createWebHistory
} from 'vue-router'
const todolist = import('../views/todolist/index.vue')
const routes = [{
  path: '/',
  name: 'todolist',
  component: todolist
}]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
